package com.ayoka.parenting.bean;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

/**
 * @ProjectName: ayoka7.
 * @ClassName: CustomMessageBean.
 * @Description: .
 * @Author: jincp.
 * @CreateDate: 2019/8/8 11:02.
 */

public class CustomMessageBean {

    public String command;
    public String value;

    public CustomMessageBean(String command, String value) {
        this.command = command;
        this.value = value;
    }

    @Override
    public String toString() {
        Gson gson = new GsonBuilder().create();
        return gson.toJson(this);
    }
}
